import React, { Component } from 'react'

export default class child extends Component {
  state = {
    fruit: '山竹'
  }
  render () {
    return (
      <div>
        child
        <p>喜欢的水果：{this.state.fruit}</p>
      </div>
    )
  }
}
